//
//  MyCollectionViewLayout.h
//  15-HomeWork(CustomCollectionViewCell)
//
//  Created by ParkourH on 16/8/3.
//  Copyright © 2016年 ParkourH. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol MyCollectionViewLayoutDelegate <NSObject>

- (CGFloat)collectionView:(UICollectionView *)collectionView
                   layout:(UICollectionViewLayout *)collectionViewLayout
 heightForItemAtIndexPath:(NSIndexPath *)indexPath;

@end

@interface MyCollectionViewLayout : UICollectionViewLayout

@property (nonatomic, weak) id <MyCollectionViewLayoutDelegate> delegate;

@end
